package net.jueb.frameworkDemo.orm.mapdb;
import java.io.File;
import java.util.List;

import org.mapdb.Atomic.Var;
import org.mapdb.DB;
import org.mapdb.DBMaker;
import org.mapdb.IndexTreeList;
import org.mapdb.Serializer;  
  
public class QueuesTest {  
    public static void main(String[] args) {  
        DB db = DBMaker.fileDB(new File("mapdb.db"))  
                .closeOnJvmShutdown().transactionEnable().make();
        IndexTreeList<Integer> list= db.indexTreeList("list",Serializer.INTEGER).createOrOpen();
        Var<Object> queue = db.atomicVar("queue").createOrOpen();
        System.out.println(queue);  
    }  
}  